package com.zb.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author WEN
 * @Date 2023/10/16 0016
 **/
@Data
@ApiModel("工单事件对象")
public class OrderEventVo {

    @NotNull(message = "工单ID不能为空")
    @ApiModelProperty(value = "工单ID", required = true)
    private List<Long> workIds;


    @Length(max = 100, message = "原因/备注长度限制 100 个字符")
    @ApiModelProperty(value = "原因/备注", required = true)
    private String remark;

    @ApiModelProperty(value = "处理方式 1.电话 2.客户取消 3.重复订单 4.过保 5.作废")
    private Integer approach;

    @ApiModelProperty(value = "取消原因 2.取消上门 3.过保 ")
    private Integer cancelReason;
}
